<template>
  <div>
    <h2>login</h2>
    <button type="button" @click="toHome">go to home</button>
  </div>
</template>

<script>
export default {
  name: "Login",
  methods: {
    toHome() {
      this.$router.replace({path: "/home"})
    }
  }
}
</script>

<style scoped>

</style>